package cn.tedu.charging.order.dao.mapper.repository;

import cn.tedu.charging.order.pojo.po.ChargingBillFailPO;
import cn.tedu.charging.order.pojo.po.ChargingBillSuccessPO;

/**
 * @Author: Miyako
 * @Date: 2024-10-21-10:46
 * @Description: 接口
 */
public interface OrderRepository {

    Integer UpdateOrderStatusPtoE(String orderNo);

    ChargingBillSuccessPO getSuccessOrder(String orderNo);

    ChargingBillFailPO getFailOrder(String orderNo);

    int saveFailOrder(ChargingBillFailPO newChargingBillFailPO);

    int updateDeviceInfo(String orderNo, Integer gunId);
}
